package com.hellohoper.script.config.starter;

import com.hellohoper.cloud.starter.zookeeper.annotation.EnableZookeeper;
import com.hellohoper.script.config.engine.task.InitScriptProcessor;
import com.hellohoper.script.config.engine.zookeeper.ZookeeperListener;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 引擎中心，需要ZK和Feign支持
 * Created by hk on 12/23/16.
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({GroovyConfiguration.class, InitScriptProcessor.class, ZookeeperListener.class})
@EnableZookeeper
@EnableFeignClients(basePackages = "com.hellohoper")
public @interface EnableGroovyConfig {
}
